<?php
if (!defined ('TYPO3_MODE')) 	die ('Access denied.');
t3lib_extMgm::addUserTSConfig('
	options.saveDocNew.tx_enoteserver_note=1
	options.saveDocNew.tx_enoteserver_note_collection=1
');

  ## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY,'editorcfg','
	tt_content.CSS_editor.ch.tx_enoteserver_pi1 = < plugin.tx_enoteserver_pi1.CSS_editor
',43);

$TYPO3_CONF_VARS['FE']['eID_include']['tx_enoteserver_ajax'] = 'EXT:enoteserver/ajax.php';

t3lib_extMgm::addPItoST43($_EXTKEY,'pi1/class.tx_enoteserver_pi1.php','_pi1','list_type',0);

$TYPO3_CONF_VARS['SC_OPTIONS']['GLOBAL']['cliKeys']['enoteserver_cli'] = array('EXT:enoteserver/cli.php','_CLI_enoteserver');

t3lib_extMgm::addTypoScript($_EXTKEY,'setup','
	tt_content.shortcut.20.0.conf.tx_enoteserver_note = < plugin.'.t3lib_extMgm::getCN($_EXTKEY).'_pi1
	tt_content.shortcut.20.0.conf.tx_enoteserver_note.CMD = singleView
',43);
?>